package com.drinks.yiniang.entity.comment;

import com.drinks.yiniang.entity.community.CommunityNewsJson;
import com.hansen.library.entity.BaseJson;

import java.util.List;

/**
 * 我的点评
 *
 * @author han
 * @date 2019/12/5
 */
public class MyCommentsJson extends BaseJson {

    private MyCommentsData data;

    public MyCommentsData getData() {
        return data;
    }

    public void setData(MyCommentsData data) {
        this.data = data;
    }

    public static class MyCommentsData {
        private List<MyCommentsList> data;

        public List<MyCommentsList> getData() {
            return data;
        }

        public void setData(List<MyCommentsList> data) {
            this.data = data;
        }
    }

    public static class MyCommentsList {
        private String id;
        private String fans_id;
        private String title;
        private String content;
        //是否精华
        private String is_essence;
        //点赞数
        private String like_count;
        //评论数
        private String comment_count;
        //收藏数
        private String collect_count;
        //当前用户是否收藏
        private String is_collect;
        //当前用户是否点赞
        private String is_like;
        //商品名称
        private String goods_name;
        private String sub_title;
        private String price;
        //图片
        private List<CommunityNewsJson.CommunityNewsImg> images;
        //用户信息
        private MyCommentsUser fans;
        //当前人的评论
        private MyCommentsInfo this_comment;
        //评论列表(有最大限制)
        private List<MyCommentsInfo> comment_list;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getFans_id() {
            return fans_id;
        }

        public void setFans_id(String fans_id) {
            this.fans_id = fans_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getIs_essence() {
            return is_essence;
        }

        public void setIs_essence(String is_essence) {
            this.is_essence = is_essence;
        }

        public String getLike_count() {
            return like_count;
        }

        public void setLike_count(String like_count) {
            this.like_count = like_count;
        }

        public String getComment_count() {
            return comment_count;
        }

        public void setComment_count(String comment_count) {
            this.comment_count = comment_count;
        }

        public String getCollect_count() {
            return collect_count;
        }

        public void setCollect_count(String collect_count) {
            this.collect_count = collect_count;
        }

        public String getIs_collect() {
            return is_collect;
        }

        public void setIs_collect(String is_collect) {
            this.is_collect = is_collect;
        }

        public String getIs_like() {
            return is_like;
        }

        public void setIs_like(String is_like) {
            this.is_like = is_like;
        }

        public String getGoods_name() {
            return goods_name;
        }

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }

        public String getSub_title() {
            return sub_title;
        }

        public void setSub_title(String sub_title) {
            this.sub_title = sub_title;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public List<CommunityNewsJson.CommunityNewsImg> getImages() {
            return images;
        }

        public void setImages(List<CommunityNewsJson.CommunityNewsImg> images) {
            this.images = images;
        }

        public MyCommentsUser getFans() {
            return fans;
        }

        public void setFans(MyCommentsUser fans) {
            this.fans = fans;
        }

        public MyCommentsInfo getThis_comment() {
            return this_comment;
        }

        public void setThis_comment(MyCommentsInfo this_comment) {
            this.this_comment = this_comment;
        }

        public List<MyCommentsInfo> getComment_list() {
            return comment_list;
        }

        public void setComment_list(List<MyCommentsInfo> comment_list) {
            this.comment_list = comment_list;
        }
    }

    public static class MyCommentsInfo {
        private String id;
        private String fans_id;
        private String community_id;
        private String nickname;
        private String content;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getFans_id() {
            return fans_id;
        }

        public void setFans_id(String fans_id) {
            this.fans_id = fans_id;
        }

        public String getCommunity_id() {
            return community_id;
        }

        public void setCommunity_id(String community_id) {
            this.community_id = community_id;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }
    }

    public static class MyCommentsUser {
        private String id;
        private String username;
        private String avatar;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }
    }
}
